{% extends "include/base.html" %}
{% block title %}Запись {{ post.get_full_name }}{% endblock %}
{% block content %}
  {% load user_filters %}
  <main role="main" class="container">
    <div class="row">
      <div class="col-md-3 mb-3 mt-1">
        <div class="card">
          <div class="card-body">
            <div class="h2">
              <!-- Имя автора -->
              {{ author.get_full_name }}
            </div>
            <div class="h3 text-muted">
              <!-- username автора -->
              @{{ author.username }}
            </div>
          </div>
          <ul class="list-group list-group-flush">
            <li class="list-group-item">
              <div class="h6 text-muted">
                Подписчиков: XXX <br/>
                Подписан: XXX
              </div>
            </li>
            <li class="list-group-item">
              <div class="h6 text-muted">
                <!--Количество записей -->
                Записей: {{ posts_count }}
              </div>
            </li>
          </ul>
        </div>
      </div>
      <div class="col-md-9">
        <!-- Пост -->
        {% include "posts/post_item.html" with post=post %}
      </div>
    </div>
  </main>
  {% include "posts/comments.html" %}
{% endblock %}
